/**
 * 报价 api 封装
 */
import {getRequest, postRequest} from '/@/lib/axios';

export const storageAreaApi = {

    /**
     * 分页查询
     */
    queryPage: (param) => {
        return postRequest('/storage/queryPage', param);
    },
    /**
     * 增加
     */
    add: (param) => {
        return postRequest('/storage/add', param);
    },

    /**
     * 修改
     */
    update: (param) => {
        return postRequest('/storage/update', param);
    },

    /**
     * 删除
     */
    delete: (id) => {
        return getRequest(`/storage/delete/${id}`);
    },

    /**
     * 报价单类型
     */
    storageType: () => {
        return getRequest(`/storage/typo`);
    },

};
